<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:64:"D:\AAA\LOLforum\public/../application/admin\view\user\index.html";i:1487857718;s:64:"D:\AAA\LOLforum\public/../application/admin\view\common\top.html";i:1487068597;s:65:"D:\AAA\LOLforum\public/../application/admin\view\common\left.html";i:1487857718;}*/ ?>
<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8">
	    <title><?php echo $title; ?></title>	
	    <meta name="description" content="Dashboard">
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	    <!--Basic Styles-->
	    <link href="__ASTYLE__/bootstrap.css" rel="stylesheet">
	    <link href="__ASTYLE__/font-awesome.css" rel="stylesheet">
	    <link href="__ASTYLE__/weather-icons.css" rel="stylesheet">	
	    <!--Beyond styles-->
	    <link id="beyond-link" href="__ASTYLE__/beyond.css" rel="stylesheet" type="text/css">
	    <link href="__ASTYLE__/demo.css" rel="stylesheet">
	    <link href="__ASTYLE__/picons.css" rel="stylesheet">
	    <link href="__ASTYLE__/animate.css" rel="stylesheet">	    
	</head>
	<body>
		<!-- 头部 -->
		<div class="navbar">
    <div class="navbar-inner">
        <div class="navbar-container">
            <!-- Navbar Barnd -->
            <div class="navbar-header pull-left">
                <a href="<?php echo url('index/index'); ?>" class="navbar-brand">
                    <small><img src="__AIMG__/logo.jpg" alt=""></small>
                </a>
            </div>
            <!-- /Navbar Barnd -->
            <!-- Sidebar Collapse -->
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="collapse-icon fa fa-bars"></i>
            </div>
            <!-- /Sidebar Collapse -->
            <!-- Account Area and Settings -->
            <div class="navbar-header pull-right">
                <div class="navbar-account">
                    <ul class="account-area">
                        <li>
                            <a class="login-area dropdown-toggle" data-toggle="dropdown">
                                <div class="avatar" title="操作">
                                    <img src="__AIMG__/adam-jansen.jpg">
                                </div>
                                <section>
                                    <h2><span class="profile"><span><?php echo \think\Request::instance()->session('adminname'); ?></span></span></h2>
                                </section>
                            </a>
                            <!--Login Area Dropdown-->
                            <ul class="pull-right dropdown-menu dropdown-arrow dropdown-login-area">
                                <li class="username"><a></a></li>
                                <li class="dropdown-footer">
                                    <a href="<?php echo url('admin/logout'); ?>">退出登录</a>
                                </li>
                                <li class="dropdown-footer">
                                    <a href="<?php echo url('admin/edit',array('id'=>\think\Request::instance()->session('id'))); ?>">修改密码</a>
                                </li>
                            </ul>
                            <!--/Login Area Dropdown-->
                        </li>
                        <!-- /Account Area -->
                        <!--Note: notice that setting div must start right after account area list.
                            no space must be between these elements-->
                        <!-- Settings -->
                    </ul>
                </div>
            </div>
            <!-- /Account Area and Settings -->
        </div>
    </div>
</div>
		<!-- /头部 -->
		
		<div class="main-container container-fluid">
			<div class="page-container">
				<!-- Page Sidebar -->
	            <div class="page-sidebar" id="sidebar">
                <!-- Page Sidebar Header-->
                <div class="sidebar-header-wrapper">
                    <input class="searchinput" type="text">
                    <i class="searchicon fa fa-search"></i>
                    <div class="searchhelper"></div>
                </div>
                <!-- /Page Sidebar Header -->
                <!-- Sidebar Menu -->
                <ul class="nav sidebar-menu">
                    <!--Dashboard-->
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-user"></i>
                            <span class="menu-text">管理员 </span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('admin/index'); ?>">
                                    <span class="menu-text">管理列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo url('admingroup/index'); ?>">
                                    <span class="menu-text">用户组列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo url('adminrule/index'); ?>">
                                    <span class="menu-text">权限列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li> 

                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-list"></i>
                            <span class="menu-text">会员管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('user/index'); ?>">
                                    <span class="menu-text">会员列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                             <li>
                                <a href="<?php echo url('usergroup/index'); ?>">
                                    <span class="menu-text">会员组列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo url('userrule/index'); ?>">
                                    <span class="menu-text">权限列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo url('signin/index'); ?>">
                                    <span class="menu-text">签到列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo url('integral/index'); ?>">
                                    <span class="menu-text">积分列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li> 

                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-file-text"></i>
                            <span class="menu-text">帖子管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('note/index'); ?>">
                                    <span class="menu-text">帖子列表 </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li> 
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-comment"></i>
                            <span class="menu-text">评论管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('talk/index'); ?>">
                                    <span class="menu-text">评论列表 </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>

                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-link"></i>
                            <span class="menu-text">友情链接</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('link/index'); ?>">
                                    <span class="menu-text">链接列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li> 
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-link"></i>
                            <span class="menu-text">广告管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('advert/index'); ?>">
                                    <span class="menu-text">广告列表 </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-list-alt"></i>
                            <span class="menu-text">新闻管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('news/index'); ?>">
                                    <span class="menu-text">新闻列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-film"></i>
                            <span class="menu-text">视频管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('video/index'); ?>">
                                    <span class="menu-text">视频列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                     <li>
                            <a href="#" class="menu-dropdown">
                                <i class="menu-icon glyphicon glyphicon-list"></i>
                                <span class="menu-text">主题管理</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
                                <li>
                                    <a href="<?php echo url('cate/index'); ?>">
                                        <span class="menu-text">主题列表 </span>
                                        <i class="menu-expand"></i>
                                    </a>
                                </li>
                            </ul>                            
                        </li>
                    <li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-calendar"></i>
                            <span class="menu-text">商品管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('goods/index'); ?>">
                                    <span class="menu-text">商品列表 </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon glyphicon glyphicon-bullhorn"></i>
                            <span class="menu-text">公告管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('pub/index'); ?>">
                                    <span class="menu-text">公告列表 </span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-gear"></i>
                            <span class="menu-text">统计管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <li>
                                <a href="<?php echo url('count/index'); ?>">
                                    <span class="menu-text">统计列表</span>
                                    <i class="menu-expand"></i>
                                </a>
                            </li>
                        </ul>                            
                    </li>                        
                    
                                           
                    
                </ul>
                <!-- /Sidebar Menu -->
            </div>
	            <!-- /Page Sidebar -->
	            <!-- Page Content -->
	            <div class="page-content">
	                <!-- Page Breadcrumb -->
	                <div class="page-breadcrumbs">
	                    <ul class="breadcrumb">
	                        <li>
	                            <a href="<?php echo url('index/index'); ?>">论坛系统</a>
	                        </li>
	                        <li class="active">会员管理</li>
	                    </ul>
	                </div>
	                <!-- /Page Breadcrumb -->	
	                <!-- Page Body -->
	                <div class="page-body">	                    
						<div class="row">
						    <div class="col-lg-12 col-sm-12 col-xs-12">
						        <div class="widget">
						            <div class="widget-body">
						                <div class="flip-scroll">
						                    <table class="table table-bordered table-hover">
						                        <thead class="">
						                            <tr>
						                                <th class="text-center" width="5%">ID</th>
						                                <th class="text-center" width="">会员手机号</th>
						                                <th class="text-center" width="">会员类型</th>
						                                <th class="text-center" width="">会员状态</th>
						                                <th class="text-center" width="20%">操作</th>
						                            </tr>
						                        </thead>
						                        <tbody>
						                            <?php if(is_array($list) || $list instanceof \think\Collection): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
						                            <tr>
						                                <td align="center"><?php echo $vo['id']; ?></td>
						                                <td align="center"><?php echo $vo['phone']; ?></td>
						                                <td align="center">
                                                             <?php if($vo['type'] == 0): ?>
                                                             <a href="<?php echo url('ontype',array('id'=>$vo['id'])); ?>" class="btn btn-primary btn-sm shiny">普通会员 
                                                            </a>
                                                            <?php elseif($vo['type'] == 1): ?>
                                                            <a href="<?php echo url('ontype',array('id'=>$vo['id'])); ?>" class="btn btn-primary btn-sm shiny">VIP会员 
                                                            </a>
                                                            <?php else: ?>
                                                            <a href="<?php echo url('ontype',array('id'=>$vo['id'])); ?>" class="btn btn-primary btn-sm shiny">版主 
                                                            </a>
                                                            <?php endif; ?>
                                                        </td>
                                                        <td align="center">
                                                             <?php if($vo['status'] == 0): ?>
                                                             <a href="<?php echo url('onstatus',array('id'=>$vo['id'])); ?>" class="btn btn-danger btn-sm shiny">禁用 
                                                            </a>
                                                            <?php else: ?>
                                                            <a href="<?php echo url('onstatus',array('id'=>$vo['id'])); ?>" class="btn btn-primary btn-sm shiny">启用 
                                                            </a>
                                                            <?php endif; ?>
                                                        </td>
						                                <td align="center">
						                                    <a href="<?php echo url('user/see',array('id'=>$vo['id'])); ?>" class="btn btn-primary btn-sm shiny">
						                                        <i class="glyphicon glyphicon-search"></i> 查看
						                                    </a>
						                                    <a  onclick="warning('确实要删除吗', '<?php echo url('user/del',array('id'=>$vo['id'])); ?>')" class="btn btn-danger btn-sm shiny">
						                                        <i class="fa fa-trash-o"></i> 删除
						                                    </a>
						                                </td>
						                            </tr>
						                            <?php endforeach; endif; else: echo "" ;endif; ?>
						                        </tbody>
						                    </table>
						                </div>
						                <div style="text-align:right; margin-top:10px;"><?php echo $list->render(); ?></div>
						            </div>
						        </div>
						    </div>
						</div>
	
	                </div>
	                <!-- /Page Body -->
	            </div>
	            <!-- /Page Content -->
			</div>	
		</div>
	
		<!--引入外部文件-->
	    <script src="__ASTYLE__/jquery_002.js"></script>
	    <script src="__ASTYLE__/bootstrap.js"></script>
	    <script src="__ASTYLE__/jquery.js"></script>
	    <script src="__ASTYLE__/beyond.js"></script>
	</body>
</html>